<template>
   <van-tabs v-model:active="active" sticky swipeable>
  <van-tab title="全部"><order-list key="0" :status='0'></order-list></van-tab>
  <van-tab title=" 待支付"><order-list key="1" :status='1'></order-list></van-tab>
  <van-tab title="代发货"><order-list key="2" :status='2'></order-list></van-tab>
  <van-tab title="待收货"><order-list key="3" :status='3'></order-list></van-tab>
  <van-tab title="待评价"><order-list key="4" :status='4'></order-list></van-tab>
</van-tabs> 
</template>
<script setup>
import {ref} from 'vue'
let active=ref(0)

</script>